package syllabus.service;

import java.util.List;
import syllabus.model.Criteria;
import syllabus.model.PUser;

public interface PUserService {
    int countByExample(Criteria example);

    PUser selectByPrimaryKey(Integer id);

    List<PUser> selectByExample(Criteria example);

    int deleteByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(PUser record);

    int updateByPrimaryKey(PUser record);

    int deleteByExample(Criteria example);

    int updateByExampleSelective(PUser record, Criteria example);

    int updateByExample(PUser record, Criteria example);

    int insert(PUser record);

    int insertSelective(PUser record);
    
    PUser selectByUser(Criteria c);
    
}